package com.mt.roll.process.vo;

import com.mt.roll.core.base.BaseVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: liguanghao
 * @Date: 2021/3/31 15:02
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "工序视图对象", description = "用于查询工序信息")
public class WorkSequenceVo extends BaseVo implements PageVo.ConvertVo{
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", required = true, example = "1")
    private Long id;
    /**
     * 设备list
     */
    @ApiModelProperty(value = "设备list", example = "1")
    private List<EquipmentVo> equipments;
    /**
     * 工序编码
     */
    @ApiModelProperty(value = "编码", example = "0")
    private String code;
    /**
     * 工序名称
     */
    @ApiModelProperty(value = "名称", example = "0")
    private String name;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "0")
    private String createTime;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "0")
    private String remark;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", example = "0")
    private String description;
    /**
     * 类型：0加工设备，1缓存区
     */
    @ApiModelProperty(value = "类型：0加工设备，1缓存区", example = "0")
    private Integer type;
}
